package com.safe.first.domain.user.repo;

import com.safe.first.common.ddd.BaseRepository;
import com.safe.first.domain.user.User;

/**
 * @author Mickey
 * @since 2022/6/17
 **/
public interface UserRepo extends BaseRepository<User, Long> {

    User byUsername(String username);

    User byMobile(String mobile);

}
